package javaer.starter.constants;

/**
 * 符号常量
 *
 * @author yangzhen
 * @date 2023/6/6 09:35
 * @since 1.0.0
 */
public enum SymbolEnum {
    ROOT("ROOT"),
    // spring-boot-parent的底层默认的depId的标识
    POM_PARENT("POM_PARENT"),
    POM_XML("pom.xml"),
    HORIZONTAL_LINE("-"),
    SRC_MAIN_JAVA("src/main/java"),
    SRC_MAIN_RESOURCES("src/main/resources"),
    SRC_TEST_JAVA("src/test/java"),
    SRC_TEST_RESOURCES("src/test/resources"),
    TARGET("target"),
    POINT("."),
    COMMA(","),
    PLACEHOLDER_START("${"),
    PLACEHOLDER_START_1("#{"),
    PLACEHOLDER_END("}"),
    SLASH("/"),
    BACKSLASH("\\"),
    BASE_PACKAGE("${basePackage}"),
    BASE_PACKAGES("basePackages"),
    IMPORT("import "),
    PACKAGE("package "),
    SEMICOLON(";"),
    VARIABLE_OPEN_TOKEN_ESCAPE("${r'${"),
    VARIABLE_OPEN_TOKEN_ESCAPE_1("${r'#{"),
    VARIABLE_CLOSE_TOKEN_ESCAPE("}'}"),
    MAPPER_SCAN_OPEN_TOKEN("@MapperScan("),
    MAPPER_BASE_PACKAGE("basePackages = {\"${basePackage}.**.dao\"}"),
    CLOSING_BRACKET(")"),
    BLANK_SPACE(" "),
    CLASS_PACKAGE("package ${tempValues.package_this_file};"),
    ;

    SymbolEnum(String symbol) {
        this.symbol = symbol;
    }

    private String symbol;

    public String getSymbol() {
        return symbol;
    }
}
